package com.yoda.mall.api;

import com.yoda.mall.model.entity.ums.Menu;
import com.yoda.mall.model.entity.ums.Role;
import com.yoda.mall.model.vo.PageResult;

import java.util.List;

public interface RoleApi {
    PageResult<Role> pageList(String keyword, Integer pageNum, Integer pageSize);

    List<Role> listAll();

    void updateById(Integer id, Role role);

    void create(Role role);

    void deleteByIds(int[] ids);
}
